package com.trivia.restServices

import com.trivia.AppUser;
import com.trivia.administration.User;
import com.trivia.restResponses.GetLoggedUserIdResponse;
import com.trivia.restResponses.ServerResponse;

class GetLoggedUserIdController extends AbstractController {

    def appUserService
	
	def index = {
		execute()
	}

    def executeTry(){
		AppUser user = appUserService.authenticate(1356288022)
		response = new GetLoggedUserIdResponse(status: ServerResponse.okResponse, 
						description: ServerResponse.responses[ServerResponse.okResponse],userID:1356288022);
    }
	
}